import { WebPlugin } from '@capacitor/core';

import type { lockOption, ScreenPlugin, typeResult } from './definitions';

export class ScreenWeb extends WebPlugin implements ScreenPlugin {
  async lock(options: lockOption): Promise<void> {
    console.log(options);
  }
  async type(): Promise<typeResult> {
    return { orientation: '', setting: 'any' };
  }
  async echo(options: { value: string }): Promise<{ value: string }> {
    console.log('', options);
    return options;
  }
}
